<!--{include header_order}-->
 
  
<div id="bdw" class="bdw has-order-nav">
  <div id="bd" class="cf" >
            <div data-component="order-nav" class="component-order-nav" mt-scope='[]'  data-component-config='{"lazyRender":false,"afterLoad":false}'><img src='data:image/png,' onerror='M._autoinit.push(this.parentNode);this.parentNode.removeChild(this);' width=1 height=1 style='position:absolute;'><div class="side-nav J-order-nav">
    <div class="J-side-nav__user side-nav__user cf">
        <a href="/account/settings.php" title="上传头像" gaevent="/account/settings.php" class="J-user item user">
		<!--{if $login_user['avatar']}-->
		<img src="${user_image($login_user['avatar'])}" width="30" height="30">
		<!--{else}-->
		<img src="/static/0750/css/img/user-default-avatar.png" width="30" height="30">
		<!--{/if}-->
		</a>
							
							
        <div class="item info">
            <div class="info__name">${mb_strimwidth($login_user['username'],0,10)}</div>
            <div><a target="_blank" href="/credit/score.php">
			<!--{if $login_user['score']  < 100}-->
<em>V0</em>会员
<!--{elseif $login_user['score'] > 99 && $login_user['score'] < 500}-->
<em>V1</em>会员
<!--{elseif $login_user['score'] > 499 && $login_user['score'] < 1000}-->
<em>V2</em>会员
<!--{elseif $login_user['score'] > 999 && $login_user['score'] < 1500}-->
<em>V3</em>会员
<!--{elseif $login_user['score'] > 1499 && $login_user['score'] < 2000}-->
<em>V4</em>会员
<!--{elseif $login_user['score'] > 1999 && $login_user['score'] < 2500}-->
<em>V5</em>会员
<!--{elseif $login_user['score'] > 2499 && $login_user['score'] < 3000}-->
<em>V6</em>会员
<!--{elseif $login_user['score'] > 2999 && $login_user['score'] < 3500}-->
<em>V7</em>会员
<!--{elseif $login_user['manager']=='Y'}-->
<em>管理员</em>
<!--{/if}-->
			
			
			</a></div>
            <div class="op cf">
               
                <a href="/account/setbinds.php" class="phone uix-tooltip " title="绑定手机"></a>
                <a href="/account/settings.php" class="setting uix-tooltip setting-noset" title="编辑资料"></a>
            </div>
        </div>
    </div>
    <div class="side-nav__account cf">
        <a class="item item--first" gaevent="/credit/index.php" target="_blank" href="/credit/index.php" title="${moneyit($login_user['money'])}">${moneyit($login_user['money'])}<span>余额</span></a>
        <a class="item" gaevent="/credit/score.php" target="_blank" href="/credit/score.php" title="${moneyit($login_user['score'])}">${moneyit($login_user['score'])}<span>积分</span></a>
      
    </div>
    <dl class="side-nav__list">
	 <dt><strong>我的优惠券</strong></dt>
        <dd>
            <ul class="item-list">
             <li ><a href="/coupon/index.php">未使用</a></li>
				 <li ><a href="/coupon/consume.php">已使用</a></li>
				  <li ><a href="/coupon/expire.php">已过期</a></li>
            </ul>
        </dd>
        <dt class="first-item"><strong>我的订单</strong></dt>
        <dd>
            <ul class="item-list">
                <li  class="current"><a href="/order/index.php?s=index">全部订单</a></li>
				 <li ><a href="/order/index.php?s=unpay">未付款</a></li>
                <li ><a href="/order/index.php?s=pay">已付款</a></li>
				 <li ><a href="/order/index.php?s=askrefund">申请退款</a></li>
            </ul>
        </dd>
		 
		  <dt><strong>我的邀请</strong></dt>
        <dd>
            <ul class="item-list">
                <li ><a href="/account/refer.php">所有</a></li>
				 <li ><a href="/account/referpending.php">未购买</a></li>
				  <li ><a href="/account/referdone.php">已返利</a></li>
            </ul>
        </dd>
        <dt><strong>我的账户</strong></dt>
        <dd class="last">
            <ul class="item-list">
			 <li ><a href="/account/settings.php">账户设置</a></li>
			  <li ><a href="/credit/index.php">我的余额</a></li>
			  <li ><a href="/account/myask.php" >我的问答</a></li>
			    <li ><a href="/account/setbinds.php">手机绑定</a></li>
				  <li ><a href="/account/setaddress.php">收货地址</a></li>
            </ul>
        </dd>
		 <dt><strong>我的评价</strong></dt>
        <dd>
            <ul class="item-list">
                <li ><a href="/account/comment.php">我的评价</a></li>
            </ul>
        </dd>
		 <dt><strong>我的收藏</strong></dt>
        <dd>
            <ul class="item-list">
                <li ><a href="/account/collect.php">我的收藏</a></li>
            </ul>
        </dd>
		  <dt><strong>我的成长</strong></dt>
        <dd>
            <ul class="item-list">
               <li ><a href="/credit/score.php">我的积分</a></li>
			   <li ><a href="/credit/records.php">兑换记录</a></li> 
            </ul>
        </dd>
    </dl>
</div>

</div>
            


<div id="order-detail">
<div id="content" class="coupons-box">
    <div class="mainbox mine">
     
      
 
      
		<div class="box clear">
            <div class="head">
                    <h2>订单详情</h2>
                </div>
                <div class="sect">
					<table cellspacing="0" cellpadding="0" border="0" class="data-table">













<!--{if $team_num > 1}-->

       <!--{loop $order_list $tindex $one}-->

      <tr>

        <td class="left"><a href="/team.php?id={$one['team_id']}" target="_blank">${get_team_title($one['team_id'])}</a></td>

        <td><span class="money">{$currency}</span>${moneyit($one['price'])}</td>

        <td>x</td>

        <td>{$one['quantity']}</td>

        <td>=</td>

        <td class="total"><span class="money">{$currency}</span>${moneyit($one['price']*$one['quantity'])}</td>

        <td class="status"><!--{if !$express&&!$order['card_id']}-->交易成功<!--{else}-->-<!--{/if}--></td>

    </tr>

    <!--{/loop}-->   

      <!--{else}-->  

    <tr>

        <td class="left" width="180"><a href="/team.php?id={$order['team_id']}" target="_blank">{$team['title']}</a></td>

        <td width="50" style="text-align:center"><span class="money">{$currency}</span>${moneyit($order['price'])}</td>

        <td width="50" style="text-align:center">x</td>

        <td style="text-align:center">{$order['quantity']}</td>

        <td width="50" style="text-align:center">=</td>

        <td class="total"><span class="money">{$currency}</span>${moneyit($order['price']*$order['quantity'])}</td>

        <td class="status"><!--{if !$express&&!$order['card_id']}-->交易成功<!--{else}-->-<!--{/if}--></td>

    </tr>

 <!--{/if}--> 

























    <tr>

        <th>订单编号：</th>

        <td class="orderid"><strong>{$order['id']}</strong></td>

        <th>下单时间：</th>

        <td><span>${date('Y-m-d H:i',$order['create_time'])}</span></td>

    </tr>

    <tr>

        <th>下单序号：</th>

        <td class="orderid"><strong>{$order['buy_id']}</strong></td>

        <th>幸运编号：</th>

        <td><span>{$order['luky_id']}</span></td>

    </tr>

<!--{if $order['condbuy']}-->

    <tr>

        <th>订单选项：</th>

        <td colspan="3" class="status">{{$order['condbuy']}}</td>

    </tr>

<!--{/if}-->

<!--{if $order['remark']}-->

    <tr>

        <th>订单附言：</th>

        <td colspan="3" class="status">${htmlspecialchars($order['remark'])}</td>

    </tr>

<!--{/if}-->

</table>



<table cellspacing="0" cellpadding="0" border="0" class="info-table">

    <tr>

        <th class="left" width="auto">项目名称</th>

        <th width="35">单价</th>

        <th width="10"></th>

        <th width="45">数量</th>

        <th width="10"></th>

        <th width="45">总价</th>

        <th width="150">状态</th>

    </tr>

    <tr>

        <td class="left"><a href="/team.php?id={$order['team_id']}" target="_blank">{$team['title']}</a></td>

        <td><span class="money">{$currency}</span>${moneyit($order['price'])}</td>

        <td>x</td>

        <td>{$order['quantity']}</td>

        <td>=</td>

        <td class="total"><span class="money">{$currency}</span>${moneyit($order['price']*$order['quantity'])}</td>

        <td class="status"><!--{if !$express&&!$order['card_id']}-->交易成功<!--{else}-->-<!--{/if}--></td>

    </tr>



<!--{if $order['card_id']}-->

    <tr>

        <td class="left">代金券：{$order['card_id']}</td>

        <td>${moneyit($order['card'])}</td>

        <td>x</td>

        <td>1</td>

        <td>=</td>

        <td class="total"><span class="money">{$currency}</span>${moneyit($order['card'])}</td>

        <td class="status">-</td>

    </tr>

<!--{/if}-->



<!--{if $express}-->

    <tr>

        <td class="left">快递（{$express_name}）</td>

        <td>${moneyit($order['fare'])}</td>

        <td>x</td>

        <td>1</td>

        <td>=</td>

        <td class="total"><span class="money">{$currency}</span>${moneyit($order['fare'])}</td>

        <td class="status">-</td>

    </tr>

<!--{/if}-->



<!--{if $express||$order['card_id']}-->

    <tr>

        <td class="left"></td>

        <td></td>

        <td></td>

        <td></td>

        <td></td>

        <td class="total"><span class="money">{$currency}</span>${moneyit($order['origin'])}</td>

        <td class="status">交易成功</td>

    </tr>

<!--{/if}-->



</table>



<!--{if $team['delivery']=='coupon'}-->

<table cellspacing="0" cellpadding="0" border="0" class="data-table">

    <tr>

        <th>{$INI['system']['couponname']}：</th>
        <td class="other-coupon"><!--{if empty($coupons)}--><!--{if $INI['sms']['auto']=='1'}-->{$INI['system']['couponname']}将在团购成功后，由系统自动发放<!--{else}-->团购成功后请到我的{$INI['system']['couponname']}中通过短信获取<!--{/if}--><!--{/if}--><!--{loop $coupons $one}--><p>{$one['id']} - {$one['secret']}</p><!--{/loop}--></td>
    </tr>

    <tr>

        <th>使用方法：</th>

        <td>至商家消费时，请出示{$INI['system']['couponname']}，配合商家验证券的编号及密码</td>

    </tr>

</table>

<!--{elseif $team['delivery']=='voucher'}-->

<table cellspacing="0" cellpadding="0" border="0" class="data-table">

    <tr>

        <th>商户券号：</th>

        <td class="other-coupon"><!--{if empty($vouchers)}-->商户券将在团购成功后，由系统自动发放<!--{/if}--><!--{loop $vouchers $one}--><p>{$one['code']}&nbsp;&nbsp;<a href="/ajax/coupon.php?action=vouchersms&id={$one['id']}" class="ajaxlink">短信</a></p><!--{/loop}--></td>

    </tr>

    <tr>

        <th>使用方法：</th>

        <td>至商家消费时，请出示商户券编码，商户券直接可抵用</td>

    </tr>

</table>

<!--{elseif $team['delivery']=='express'}-->

<table cellspacing="0" cellpadding="0" border="0" class="data-table">

    <tr>

        <th>快递：</th>

	<!--{if $order['express_id']&&$order['express_no']}-->

        <td>{$option_express[$order['express_id']]}：{$order['express_no']}</td>

	<!--{else}-->

        <td class="other-coupon">请耐心等待发货</td>

	<!--{/if}-->

    </tr>

    <tr>

        <th>收件人：</th>

        <td>{$order['realname']}</td>

    </tr>

    <tr>

        <th>收件地址：</th>

        <td>{$order['address']}</td>

    </tr>

	<tr>

        <th>邮编：</th>

        <td>{$order['zipcode']}</td>

    </tr>

    <tr>

        <th>手机号码：</th>

        <td>{$order['mobile']}</td>

    </tr>

	<tr>

        <th>送货时间：</th>

        <td>{$order['express_xx']}</td>

    </tr>

</table>

<!--{elseif $team['delivery']=='pickup'}-->

<table cellspacing="0" cellpadding="0" border="0" class="data-table">

    <tr>

        <th>自取：</th>

        <td class="other-coupon"></td>

    </tr>

    <tr>

        <th>取货地址：</th>

        <td>{$team['address']}</td>

    </tr>

    <tr>

        <th>联系电话：</th>

        <td>{$team['mobile']}</td>

    </tr>

</table>

<!--{/if}-->
				</div>
           
           
        </div>
     <div style="margin:5px auto;">{$pagestring}</div>
    

	</div>
</div>
</div>


        </div>
		</div> <!-- bdw end -->

<!--{include footer}-->
